package com.caishi.lkx.user.userlog.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author huangpeng
 * @Description //
 * @Date 2022/7/19 9:13
 **/
@Data
@Document("user_question_record")
@ToString
public class UserQuestionRecord implements Serializable {
    @Id
    private String id;
    private String userId;
    private Long categoryId;
    private Integer count;
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "Asia/Shanghai")
    private LocalDate date;


}
